﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AcctruePMS.Bll.Common
{
    public class DataChecker
    {
        public static string CheckForNull(object obj)
        {
            return CheckForNull(obj, "");
        }

        public static string CheckForNull(object obj, string alt)
        {
            return (obj == null) ? alt : obj.ToString();
        }
    }
}
